package com.anti_poverty_detection_system.springboot.mapper;

import com.anti_poverty_detection_system.springboot.model.Users;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.springframework.data.repository.query.Param;

/**
 * <p>
 *  Users 接口
 * </p>
 *
 * @author ZITONG BAI
 * @since 2024-06-17
 */
public interface UsersMapper extends BaseMapper<Users> {
    /**
     * 分页条件查询
     *
     * @param page  分页对象
     * @param users 用户查询条件
     * @return 分页结果
     */
    Page<Users> selectUsersPage(@Param("page") Page<Users> page, @Param("users") Users users);
}
